<?php


class Framework_DB_Table_FriendStatus extends Framework_DB_Table_Common {
	
	public $tableName = 'FriendStatus';
   
	public function __construct($db) {
   		
   		// Columns
   		$this->col = array(
	   		// Primary Key 1
	        'idOwner' => array(
	              'type'  => 'integer',
	           'require'  => true
	        ),
	        // Primary Key 2
	        'idSiteUser'  => array(
	              'type'  => 'integer',
	           'require'  => true
	        ),
	        
	        'watchedByUser'   => array(
	        	 'type'   => 'boolean'
	        ),
	      
	        'watchingUser'   => array(
	        	 'type'   => 'boolean'
	        )
	        
	    );
	    
	    // Indexes
	    $this->idx = array(
	    	'idOwneridSiteUser' => array(
	    		'cols' => array('idOwner', 'idSiteUser'), 
	    		'type' => 'primary'
			)
	    );
   		
   		parent::__construct($db);
   }
	
	
}

?>